package com.ruoyi.web.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class MesCuttingOutboundDetail {

    @TableField(exist = false)
    private Date startDate;
    @TableField(exist = false)
    private  Date endDate;
    @TableField(exist = false)
    private  String outboundCode;
    @TableId
    private String id;
    //主表id
    private String outboundId;
    //纸张id
    private Long paperId;
    //需用数量
    private Double needNumber;
    //库存数量
    private Double inventoryNumber;
    //出库数量
    private Double outboundNumber;
    //备注
    private String remark;

    private  String  machineId;
    private  String type;
    private  String packageType;
    private  String fullName;
    /** 令数 */
    @Excel(name = "令数")
    private Double lnumber;

    /** 件数 */
    @Excel(name = "件数")
    private Long jnumber;

    /** 零头 */
    @Excel(name = "零头")
    private BigDecimal odd;

    @TableField(exist = false)
    private  String  machineName; //机台名称
    @TableField(exist = false)
    private String machineNo;//机台编码


    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date outboundDate;//出库时间

    @TableField(exist = false)
    //类型
    private String material;

    @TableField(exist = false)
    //纸张编码
    private String code;
    @TableField(exist = false)
    //纸张名称
    private String name;
    @TableField(exist = false)
    //纸张自有编码
    private String originalCode;
    @TableField(exist = false)
    //克重
    private Double weight;
    @TableField(exist = false)
    //规格
    private String specs;
    @TableField(exist = false)
    //品牌
    private String brand;
    @TableField(exist = false)
    //品牌
    private String paperType;
    @TableField(exist = false)
    //长度
    private Double longWide;
    @TableField(exist = false)
    //宽度
    private Double wide;
    @TableField(exist = false)
    //单位
    private String unit;
}
